using QTool.BEPUphysics;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using QTool.BEPUphysics.Entities.Prefabs;
using QTool.NetFrame;
using QTool.BEPUphysics.Entities;
using QTool.BEPUphysics.CollisionShapes.ConvexShapes;
using QTool.BEPUphysics.CollisionShapes;

namespace QTool.NetFrame
{
    public class FixBoxCollider : FixCollider
    {

        public QTool.NetFrame.FixVector3 size = Vector3.one;

        protected override EntityShape CreateShape()
        {
            return new BoxShape(size.x * transform.lossyScale.x, size.y * transform.lossyScale.y, size.z * transform.lossyScale.z);
        }
        
    }
}